package com.pinganfu.mock.service;

import java.util.List;

import com.pinganfu.mock.model.ScoketMouldEntity;

public interface IScoketMouldService {
	/**
	 * 新建
	 * @param entity
	 * @return
	 */
	public Integer insertScoketMould(ScoketMouldEntity entity);
	
	
	/**
	 * 修改
	 * @param entity
	 * @return
	 */
	public Integer updateScoketMould(ScoketMouldEntity entity);
	
	
	/**
	 * 删除
	 * @param entity
	 * @return
	 */
	public Integer delScoketMould(ScoketMouldEntity entity);
	
	
	/**
	 * 查询全部
	 * @param entity
	 * @return
	 */
	public List<ScoketMouldEntity> getScoketMouldList();
	
	
	/**
	 * 根据端口查询
	 * @param entity
	 * @return
	 */
	public List<ScoketMouldEntity> getScoketMouldListByport(ScoketMouldEntity entity);
	
	/**
	 * 根据id查询
	 * @param entity
	 * @return
	 */
	public List<ScoketMouldEntity> getScoketMouldById(ScoketMouldEntity entity);
	
	/**
	 * 根据业务名称查询
	 * @param entity
	 * @return
	 */
	public String getScoketMouldByName(ScoketMouldEntity entity);
}
